// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },
  css: ['~/assets/styles/global.scss'],
  plugins: [
    '~/plugins/ant-design-vue'
  ],
  devServer: {
    host: '0.0.0.0',  // 允许外部访问
    port: 1257        // 自定义端口
  },
  vite: {
    css: {
      preprocessorOptions: {
        scss: {
          additionalData: '@use "~/assets/styles/app.scss" as *;'
        }
      }
    }
  }
})
